package com.bailiban.aigou.admin.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bailiban.aigou.admin.dao.AigouBackstageDao;
import com.bailiban.aigou.admin.entity.BackstageUser;
import com.bailiban.aigou.admin.service.IAigouBackstageService;
@Service
public class AigouBackstageServiceImpl implements IAigouBackstageService {
	@Resource
	private AigouBackstageDao userDao;
	 @Transactional
	public BackstageUser getUserByUsername(String username) {
		
		return userDao.getUserByUsername(username);
	}

}
